
const http = require('../utils/http')

const HTTP = new http.HTTP()

// 获取个人信息
export function getMyInfo(account, callback) {
  let params = {}
  HTTP.request('/volunteer/info/' + account, 'GET', params, res => {
    callback(res)
  })
}
export function volunteerModify(params,callback){
  HTTP.request('/volunteer/modify' , 'PUT', params, res => {
    callback(res)
  })
}
